<?php
	$to = "adriana.popa@aritax.ro";
	$subject = "Aritax.ro - intrebare de pe forum";
	$msg = $_REQUEST["Question"];

	$headers  = 'MIME-Version: 1.0' . "\r\n";
	$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
	$headers .= "From: ".$_REQUEST["EmailAddress"]."\r\nReply-To: ".$_REQUEST["EmailAddress"];

	try
	{
		if (strlen($_REQUEST["EmailAddress"]) > 0)
			mail($to, $subject, $msg, $headers);
	}
	catch (Exception $exception)
	{
		
	}
	
	header("Location: prezentare.html");
?>